package com.ruoyi.mateProcurement.service;

import com.ruoyi.mateProcurement.domain.MateProcurement;
import com.ruoyi.mateProcurement.domain.MateProcurementModel;
import com.ruoyi.material.domain.MateProductModel;
import com.ruoyi.material.domain.MaterialProduct;
import com.ruoyi.product.domain.Product;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
public interface MateProcurementService {

    MateProcurement selectMateProcurement(Map<String, Object> resMap);

    String orderNum(Date date, int i);

    public int insertMatrProcurement(MateProcurement mateProcurement);

    public List<MaterialProduct> selectProductLists(MaterialProduct materialProduct);

    public List<MateProcurement> selectMateProcurementList(MateProcurement mateProcurement);

    public void deleteProcurement(Long mateProcurementId);

    public int updateProcurement(MateProcurement mateProcurement);

    MateProcurement selectMateProcurementBy(MateProcurement mateProcurement);

    MateProcurement selectMateProcurementByOrderId(Long mateProcurementId);

    public int caculation(MateProcurement mateProcurement);

    List<MateProcurement> selectProcurement(Long deptId);



}
